import threading
import time
def f1(msg):
    _count = 0
    while True:
        _count += 1
        print(f"{msg}{time.time()}第{_count}次执行")
        time.sleep(0.5)
def f2(name):
    _count = 0
    while True:
        _count += 1
        print(f"{name}{time.time()}第{_count}次执行")
        time.sleep(0.5)
if __name__ == '__main__':
    args_1 = ("呵呵",)
    kwargs_1 = {"name":"cry"}
    f1_target = threading.Thread(target=f1,args=args_1)
    f2_target = threading.Thread(target=f2,kwargs=kwargs_1)
    f1_target.start()
    f2_target.start()